<?php

namespace App\Model\Admin;

use Illuminate\Database\Eloquent\Model;

class ProductImage extends Model
{
    protected $fillable = [
        'product_id', 'image_path',
    ];
    
    public function product()
    {
        return $this->belongsTo('App\Model\Admin\Product', 'product_id', 'pro_code');
    }
}
